package com.secxiot.provider.task.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@ApiModel
@NoArgsConstructor
@ToString
@Data
public class TaskTransferDto implements Serializable {
    private static final long serialVersionUID = 4083887560751949218L;

    /**
     * 患者id
     */
    @NotEmpty
    @ApiModelProperty(value = "患者id", required = true)
    private Long patientId;

    /**
     * 患者姓名
     */
    @NotEmpty
    @ApiModelProperty(value = "患者姓名", required = true)
    private String patientName;

    /**
     * 诊断
     */
    @NotEmpty
    @ApiModelProperty(value = "诊断", required = true)
    private String diagnosis;

    @NotEmpty
    @ApiModelProperty(value = "床号", required = false)
    private String beds;

    /**
     * 交接内容
     */
    @ApiModelProperty(value = "交接内容", required = true)
    private String transferContent;

    @ApiModelProperty(value = "任务附件id集合", required = false)
    private List<TaskFileDto> fileIds = Collections.emptyList();

    @ApiModelProperty(value = "患者检测数据", required = false)
    private List<TaskPatientDataDto> patientDatas = Collections.emptyList();
}
